package com.wangyu.talents.web.system.resource.resource.domain;


import com.wangyu.talents.core.entity.DataEntity;
import java.io.Serializable;

/** 
 * 资源领域对象
 * 
 * @author wangyu
 * @date 2018-09-05 09:34
 */
public class Resource extends DataEntity<Resource> {
    private static final long serialVersionUID = -7127613350062908118L;

    /** 
	 * 主键
	 */
	private Long id;

    /** 
	 * 名称
	 */
	private String name;

    /** 
	 * 标识
	 */
	private String flag;

    /** 
	 * target
	 */
	private String target;

    /** 
	 * 地址
	 */
	private String url;

    /** 
	 * 类别（1:菜单，2:按钮，3:portlet）
	 */
	private Integer type;

    /** 
	 * 权重
	 */
	private String weight;

    /** 
	 * 图标
	 */
	private String icon;

    /** 
	 * 父资源
	 */
	private Long parentId;

    /** 
	 * 资源树
	 */
	private String parentIds;

    /** 
	 * 描述
	 */
	private String description;

    /** 
	 * 创建人
	 */
	private Long createdBy;

    /** 
	 * 创建时间
	 */
	private Long created;

    public Long getId() {
		return id;
	}

    public void setId(Long id) {
		this.id = id;
	}

    public String getName() {
		return name;
	}

    public void setName(String name) {
		this.name = name;
	}

    public String getFlag() {
		return flag;
	}

    public void setFlag(String flag) {
		this.flag = flag;
	}

    public String getTarget() {
		return target;
	}

    public void setTarget(String target) {
		this.target = target;
	}

    public String getUrl() {
		return url;
	}

    public void setUrl(String url) {
		this.url = url;
	}

    public Integer getType() {
		return type;
	}

    public void setType(Integer type) {
		this.type = type;
	}

    public String getWeight() {
		return weight;
	}

    public void setWeight(String weight) {
		this.weight = weight;
	}

    public String getIcon() {
		return icon;
	}

    public void setIcon(String icon) {
		this.icon = icon;
	}

    public Long getParentId() {
		return parentId;
	}

    public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

    public String getParentIds() {
		return parentIds;
	}

    public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

    public String getDescription() {
		return description;
	}

    public void setDescription(String description) {
		this.description = description;
	}

    public Long getCreatedBy() {
		return createdBy;
	}

    public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

    public Long getCreated() {
		return created;
	}

    public void setCreated(Long created) {
		this.created = created;
	}


}
